package com.sun.service.impl;

import com.sun.mapper.PmsProductAttributeCategoryMapper;
import com.sun.pojo.PmsProductAttribute;
import com.sun.mapper.PmsProductAttributeMapper;
import com.sun.pojo.PmsProductAttributeCategory;
import com.sun.service.IPmsProductAttributeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品属性参数表 服务实现类
 * </p>
 *
 * @author 妙妙屋
 * @since 2021-12-27
 */
@Service
public class PmsProductAttributeServiceImpl extends ServiceImpl<PmsProductAttributeMapper, PmsProductAttribute> implements IPmsProductAttributeService {
    @Autowired
    private PmsProductAttributeCategoryMapper pmsProductAttributeCategoryMapper;
    @Override
    public List<PmsProductAttributeCategory> cateListWithAttr() {

        return pmsProductAttributeCategoryMapper.cateListWithAttr();
    }
}
